package ac.biu.nlp.nlp.curator.client;

/**
 * 
 * @author Asher Stern
 * @since Mar 21, 2013
 *
 */
public class Client1Main
{
	public static final String HOST = "localhost";
	public static final int PORT = 9010;

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		try
		{
			System.out.println("hello world");
			System.out.println(System.getProperty("java.class.path"));
			Client1 client = new Client1(HOST,PORT);
			String text = "Mr. Smith saw the dog with a telescope.";
//			String text = 
//					"\"If he gave the real answer, people in this country would be outraged -- if he told people it was to make his buddies rich, that it was about oil ... \"";
			String processed = client.process(text, "srl");
			System.out.println(processed);
		}
		catch(Exception e)
		{
			e.printStackTrace(System.out);
		}
	}

}
